//
//  AppDelegate.h
//  shezhan
//
//  Created by admin on 16/8/10.
//  Copyright © 2016年 haoniu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "HNMainController.h"
#import "MainViewController.h"
#import "ApplyViewController.h"
#import "HNLoginViewController.h"


#import "AGGNavigationController.h"
#import "AGGTabViewController.h"

#define NSFoundationVersionNumber_iOS_9_x_Max


@interface AppDelegate : UIResponder <UIApplicationDelegate,EMChatManagerDelegate>{
    EMConnectionState _connectionState;
}

@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

@property (nonatomic , strong) AGGNavigationController *navigationController;

@property (strong, nonatomic) HNLoginViewController * login;
@property (strong, nonatomic) AGGTabViewController * mainController;


////代理
//@property (nonatomic,retain) id<AppShoppingDelegate> appShoppingDelegate;


@end

